<#include "/common/head.ftl">

<@showTitle title="${i18n.getMessage('roomList')}">
	<a href="#" onclick="cc('materialFacilities/showAddRoom.sgt')">${i18n.getMessage('create_one')}</a>
</@showTitle>

<br/>

<@display.table id="listTable" name="rooms">
	<@display.column title="${i18n.getMessage('location')}" group="1">${(listTable.location.name)!}</@display.column>
	<@display.column title="${i18n.getMessage('name')}"><a href="#" onclick="cc('materialFacilities/showInfoRoom.sgt?id=${listTable.id}')">${(listTable.name)!}</a></@display.column>
	<@display.column title="${i18n.getMessage('code')}">${(listTable.code)!}</@display.column>
	<@display.column title="${i18n.getMessage('seatCount')}" style="text-align:center">${(listTable.seatCount)!}</@display.column>
</@display.table>

